home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: jeremyx@ix.netcom.com(Jeremy Johnston )
- Newsgroups: comp.lang.c++
- Subject: I Need HELP!
- Date: 24 Jan 1996 23:08:44 GMT
- Organization: Netcom
- Message-ID: <4e6e5s$2se@ixnews3.ix.netcom.com>
- NNTP-Posting-Host: hun-al1-10.ix.netcom.com
- X-NETCOM-Date: Wed Jan 24 3:08:44 PM PST 1996
-
-
-
- Does anyone know how do get character input use the goto statement?
- example,I cant get this to work:
- ________________________
-
- main()
- {
- char ch;
- getchar();
- if (ch==q)
- goto b;
-
- b:printf("it worked");
- }
- _______________________
- Why doesn't this work?
-
-